#include "my_headerT2csJ.h"

int init_thread_pool(threadPoll_t *tpt,int workernum){
    init_workers(&tpt->wkt,workernum);
    initList(&tpt->ltt);
    pthread_mutex_init(&tpt->pmt,NULL);
    pthread_cond_init(&tpt->pct,NULL);
    tpt->flag = 0;

    return 0;
}
